package com.zhongli.devplatform.dto;



import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zhongli.devplatform.enums.ReportGroupByDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wy
 * @since  2020/8/4
 */
@Data
@ApiModel
public class ErrorRateDto {
    /**
     * 学生id
     */
    @ApiModelProperty(name = "studentId",value = "学生ID",example = "1")
    private Integer studentId;

    @ApiModelProperty(name = "groupByType",value = "时间统计方式",example = "每年,每月,每周,每天")
    private ReportGroupByDate groupByType = ReportGroupByDate.EVERY_MONTH;
    /**
     * 年级id 后台传入
     */
    @ApiModelProperty(name = "gradeId",value = "年级ID，不需要传递",example = "不需要传递")
    private Integer gradeId;
    /**
     * 科目id
     */
    @ApiModelProperty(name = "subjectId",value = "科目id",example = "1")
    private Integer subjectId;
    /**
     * 家长id
     */
    @ApiModelProperty(name = "parentId",value = "家长id",example = "家长id")
    private Integer parentId;
}
